package com.xsz.lambdademo;

public class Apple {
    String color;
    double Weight;

    Apple(String c,double w){
        this.color=c;
        this.Weight=w;
    }
    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public double getWeight() {
        return Weight;
    }

    public void setWeight(double weight) {
        Weight = weight;
    }
}
